package com.example.provider.dao;

import com.example.common.entity.Bidding;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface BiddingDao {
    List<Bidding> searchByWorkroomId(int id);

    void deleteByWIdAndGId(@Param("workroomId") int workroomId, @Param("groupId")long groupId);

    List<Long> searchGroupIdByCompanyId(int id);

    List<Bidding> searchByGroupId(int demandId);

    void insertBidding(@Param("bidding") Bidding bidding);
}
